package com.aloda.mapper;

import com.aloda.dto.AnalysisLoginDTO;
import com.aloda.entity.LoginLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
* @author aloda
* @description 针对表【login_log】的数据库操作Mapper
* @createDate 2024-12-18 18:28:40
* @Entity generator.domain.LoginLog
*/
public interface LoginLogMapper extends BaseMapper<LoginLog> {

    /**
     * 根据时间查询登录数据
     * @param startTime
     * @param endTime
     * @return
     */
    List<AnalysisLoginDTO> selectLoginData(LocalDateTime startTime, LocalDateTime endTime);
}




